<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/6/3
  Time: 19:19
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" import="java.util.*" language="java" %>
<%
  String path = request.getContextPath();
  String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<html>
  <head>
    <base href="<%=basePath%>">
    <title>My JSP 'upload.jsp' starting page</title>
  </head>
  <body>
  <%--导入javabean包：<br />--%>
  <%--<jsp:useBean id="minus" class="myBean.AddBean" />--%>
  <%--<jsp:setProperty name="minus" property="n" value="100" />--%>
  <%--1到100的和：<br />--%>
  <%--<jsp:getProperty name="minus" property="ADDER"  />--%>
  <%--使用动作元素导入javabean包：<br />--%>
  <%--<jsp:useBean id="Circle" class="myBean.CircleBean" />--%>
  <%--<br />--%>
  <%--使用动作元素进行javabean实例化：<br />--%>
  <%--<jsp:setProperty name="Circle" property="radius" value="3" />--%>
  <%--<br />--%>
  <%--圆的半径为：--%>
  <%--<br />--%>
  <%--<jsp:getProperty name="Circle" property="radius" />--%>
  <%--<br />--%>
  <%--圆的周长为：--%>
  <%--<br />--%>
  <%--<jsp:getProperty name="Circle" property="perimeter"/>--%>
  <%--<br />--%>
  <%--圆的面积为：--%>
  <%--<br />--%>
  <%--<jsp:getProperty name="Circle" property="acreage"/>--%>
  <img alt="showImage" src="${pageContext.request.contextPath}/showImage.do">
  </body>
</html>
